package com.bwie.controller;
import com.bwie.pojo.Dict;
import com.bwie.service.DictService;
import com.bwie.service.impl.DictServiceImpl;
import com.bwie.utils.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

/**
* 字典表(tb_dict)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/brand/dict")
public class DictController {
/**
* 服务对象
*/
    @Autowired
    private DictService dictService;

    @ApiOperation("字典表")
    @PostMapping("/dictList/{typeId}")
    public R dictList(@PathVariable("typeId")Integer typeId){
        return dictService.dictList(typeId);
    }

}
